package com.mtable.action;

import java.io.PrintWriter;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.mtable.service.MMenuService;

@Controller
public class MMenuAction {
	
//	@Autowired
//	private MMenuService menuService;
//	
//	@RequestMapping("/menu/getAllMenuItemJsonStr")
//	public String getAllMenuItemJsonStr(HttpServletRequest request,HttpServletResponse response)throws Exception{
//		String menuJsonStr = menuService.getAllMenuItemJsonStr();
//		
//		response.setContentType("text/html;charset=UTF-8");
//		response.setCharacterEncoding("UTF-8");
//		PrintWriter pw = response.getWriter();
//		pw.print(menuJsonStr);
//		return null;
//	}
	
}
